package com.yanqu.road.logic.bussiness.union.cross;

import com.yanqu.road.entity.union.huaben.*;
import com.yanqu.road.entity.union.huaben.config.UnionHuaBenConfigInfo;
import com.yanqu.road.entity.union.huaben.rank.HuaBenWeekServerGroup;
import com.yanqu.road.entity.union.huaben.server.UnionHuaBenPatronsData;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.Map;

public class CrossHuaBenBussiness {

    public static Map<Integer, Map<Integer, UnionHuaBenConfigInfo>> getUnionHuaBenConfigInfoMap() {
        return DaoHelper.getCrossUnionHuaBenConfigDaoImpl().getUnionHuaBenConfigInfoMap();
    }

    public static Map<Integer, Map<Long, Map<Integer, Map<Integer, UnionHuaBenBaseTempData>>>> getUnionHuaBenBaseTempDataMap(int thisWeedId, int preWeedId) {
        return DaoHelper.getCrossUnionHuaBenBaseTempDataDaoImpl().getUnionHuaBenBaseTempData(thisWeedId, preWeedId);
    }

    public static Map<Integer, Map<Long, Map<String, UnionHuaBenPassWeekData>>> getUnionHuaBenPassWeekDataMap(int thisWeedId, int preWeedId) {
        return DaoHelper.getCrossUnionHuaBenPassWeekDataDaoImpl().getUnionHuaBenPassWeekData(thisWeedId, preWeedId);
    }

    public static Map<Integer, Map<Long, Map<Long, UnionHuaBenMemberWeekData>>> getUnionHuaBenMemberWeekDataMap(int thisWeedId, int preWeedId) {
        return DaoHelper.getCrossUnionHuaBenMemberWeekDataDaoImpl().getUnionHuaBenMemberWeekData(preWeedId, thisWeedId);
    }

    public static Map<Integer, Map<Long, Map<String, Map<Integer, UnionHuaBenAttackDamageData>>>> getUnionHuaBenAttackDamageDataMap(int thisWeedId, int preWeedId) {
        return DaoHelper.getCrossUnionHuaBenAttackDamageDataDaoImpl().getUnionHuaBenAttackDamageData(thisWeedId, preWeedId);
    }

    public static Map<Long, Map<String, UnionHuaBenUnionData>> getUnionHuaBenUnionDataMap() {
        return DaoHelper.getCrossUnionHuaBenUnionDataDaoImpl().getUnionHuaBenUnionData();
    }

    public static Map<Integer, UnionHuaBenPatronsData> getUnionHuaBenPatronsDataMap(long userId) {
        return DaoHelper.getUnionHuaBenPatronsDataDaoImpl().getUnionHuaBenPatronsData(userId);
    }

    public static boolean addUnionHuaBenPatronsData(UnionHuaBenPatronsData value) {
        return DaoHelper.getUnionHuaBenPatronsDataDaoImpl().add(value);
    }

    public static boolean updateUnionHuaBenPatronsData(UnionHuaBenPatronsData value) {
        return DaoHelper.getUnionHuaBenPatronsDataDaoImpl().update(value);
    }

    public static Map<Integer, Map<Integer, HuaBenWeekServerGroup>> getHuaBenWeekServerGroupMap(int thisWeedId, int preWeedId) {
        return DaoHelper.getCrossHuaBenWeekServerGroupDaoImpl().getHuaBenWeekServerGroup(thisWeedId, preWeedId);
    }

    public static boolean addHuaBenWeekServerGroup(HuaBenWeekServerGroup value) {
        return DaoHelper.getCrossHuaBenWeekServerGroupDaoImpl().add(value);
    }

    public static boolean updateHuaBenWeekServerGroup(HuaBenWeekServerGroup value) {
        return DaoHelper.getCrossHuaBenWeekServerGroupDaoImpl().update(value);
    }

    public static boolean addUnionHuaBenPassWeekData(UnionHuaBenPassWeekData value) {
        return DaoHelper.getCrossUnionHuaBenPassWeekDataDaoImpl().add(value);
    }


    public static boolean updateUnionHuaBenPassWeekData(UnionHuaBenPassWeekData value) {
        return DaoHelper.getCrossUnionHuaBenPassWeekDataDaoImpl().update(value);
    }

    public static boolean updateUnionHuaBenMemberWeekData(UnionHuaBenMemberWeekData value) {
        return DaoHelper.getCrossUnionHuaBenMemberWeekDataDaoImpl().update(value);
    }

    public static boolean addUnionHuaBenMemberWeekData(UnionHuaBenMemberWeekData value) {
        return DaoHelper.getCrossUnionHuaBenMemberWeekDataDaoImpl().add(value);
    }

    public static boolean addUnionHuaBenUnionData(UnionHuaBenUnionData unionData) {
        return DaoHelper.getCrossUnionHuaBenUnionDataDaoImpl().add(unionData);
    }

    public static boolean updateUnionHuaBenUnionData(UnionHuaBenUnionData value) {
        return DaoHelper.getCrossUnionHuaBenUnionDataDaoImpl().update(value);
    }

    public static boolean addUnionHuaBenAttackDamageData(UnionHuaBenAttackDamageData value) {
        return DaoHelper.getCrossUnionHuaBenAttackDamageDataDaoImpl().add(value);
    }

    public static boolean updateUnionHuaBenAttackDamageData(UnionHuaBenAttackDamageData value) {
        return DaoHelper.getCrossUnionHuaBenAttackDamageDataDaoImpl().update(value);
    }

    public static boolean addUnionHuaBenBaseTempData(UnionHuaBenBaseTempData value) {
        return DaoHelper.getCrossUnionHuaBenBaseTempDataDaoImpl().add(value);
    }

    public static boolean updateUnionHuaBenBaseTempData(UnionHuaBenBaseTempData value) {
        return DaoHelper.getCrossUnionHuaBenBaseTempDataDaoImpl().update(value);
    }
}
